import java.util.Scanner;

public class StringDeno4 {
    public static void main(String[] args) {
        //1.输入一个字符串
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入一个字符串");
        String s1=sc.next();
        //2.遍历字符串
        for(int i=0;i<s1.length();i++){
            char c=s1.charAt(i);
            System.out.println(c);
        }
    }
}
